package org.jeecg.modules.demo.outstoragedetail.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.outstoragedetail.entity.OutStorageDetail;

/**
 * @Description: 出库单明细表
 * @Author: jeecg-boot
 * @Date: 2022-02-13
 * @Version: V1.0
 */
public interface OutStorageDetailMapper extends BaseMapper<OutStorageDetail> {
    /**
     * 根据主表id查询
     *
     * @param mainId
     * @return
     */
    IPage<OutStorageDetail> getByMainId(Page page, @Param("mainId") String mainId);
}
